<%@ page import="registerallocator.PreRequisito" %>



<div class="fieldcontain ${hasErrors(bean: preRequisitoInstance, field: 'disciplinas', 'error')} ">
	<label for="disciplinas">
		<g:message code="preRequisito.disciplinas.label" default="Disciplinas" />
		
	</label>
	
<ul class="one-to-many">
<g:each in="${preRequisitoInstance?.disciplinas?}" var="d">
    <li><g:link controller="disciplina" action="show" id="${d.id}">${d?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="disciplina" action="create" params="['preRequisito.id': preRequisitoInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'disciplina.label', default: 'Disciplina')])}</g:link>
</li>
</ul>

</div>

